Optimal. Leaf size=97 \[ \frac{b (A b-a B)}{3 a^3 \left (a+b x^3\right )}+\frac{2 A b-a B}{3 a^3 x^3}-\frac{b (3 A b-2 a B) \log \left (a+b x^3\right )}{3 a^4}+\frac{b \log (x) (3 A b-2 a B)}{a^4}-\frac{A}{6 a^2 x^6} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0994124, antiderivative size = 97, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {446, 77} \[ \frac{b (A b-a B)}{3 a^3 \left (a+b x^3\right )}+\frac{2 A b-a B}{3 a^3 x^3}-\frac{b (3 A b-2 a B) \log \left (a+b x^3\right )}{3 a^4}+\frac{b \log (x) (3 A b-2 a B)}{a^4}-\frac{A}{6 a^2 x^6} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 446
Rule 77
Rubi steps
\begin{align*} \int \frac{A+B x^3}{x^7 \left (a+b x^3\right )^2} \, dx &=\frac{1}{3} \operatorname{Subst}\left (\int \frac{A+B x}{x^3 (a+b x)^2} \, dx,x,x^3\right )\\ &=\frac{1}{3} \operatorname{Subst}\left (\int \left (\frac{A}{a^2 x^3}+\frac{-2 A b+a B}{a^3 x^2}-\frac{b (-3 A b+2 a B)}{a^4 x}+\frac{b^2 (-A b+a B)}{a^3 (a+b x)^2}+\frac{b^2 (-3 A b+2 a B)}{a^4 (a+b x)}\right ) \, dx,x,x^3\right )\\ &=-\frac{A}{6 a^2 x^6}+\frac{2 A b-a B}{3 a^3 x^3}+\frac{b (A b-a B)}{3 a^3 \left (a+b x^3\right )}+\frac{b (3 A b-2 a B) \log (x)}{a^4}-\frac{b (3 A b-2 a B) \log \left (a+b x^3\right )}{3 a^4}\\ \end{align*}
Mathematica [A] time = 0.0946432, size = 85, normalized size = 0.88 \[ -\frac{\frac{a^2 A}{x^6}+\frac{2 a b (a B-A b)}{a+b x^3}+\frac{2 a (a B-2 A b)}{x^3}+2 b (3 A b-2 a B) \log \left (a+b x^3\right )-6 b \log (x) (3 A b-2 a B)}{6 a^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.016, size = 116, normalized size = 1.2 \begin{align*}{\frac{A{b}^{2}}{3\,{a}^{3} \left ( b{x}^{3}+a \right ) }}-{\frac{Bb}{3\,{a}^{2} \left ( b{x}^{3}+a \right ) }}-{\frac{{b}^{2}\ln \left ( b{x}^{3}+a \right ) A}{{a}^{4}}}+{\frac{2\,b\ln \left ( b{x}^{3}+a \right ) B}{3\,{a}^{3}}}-{\frac{A}{6\,{a}^{2}{x}^{6}}}+{\frac{2\,Ab}{3\,{a}^{3}{x}^{3}}}-{\frac{B}{3\,{a}^{2}{x}^{3}}}+3\,{\frac{A\ln \left ( x \right ){b}^{2}}{{a}^{4}}}-2\,{\frac{bB\ln \left ( x \right ) }{{a}^{3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.966946, size = 143, normalized size = 1.47 \begin{align*} -\frac{2 \,{\left (2 \, B a b - 3 \, A b^{2}\right )} x^{6} +{\left (2 \, B a^{2} - 3 \, A a b\right )} x^{3} + A a^{2}}{6 \,{\left (a^{3} b x^{9} + a^{4} x^{6}\right )}} + \frac{{\left (2 \, B a b - 3 \, A b^{2}\right )} \log \left (b x^{3} + a\right )}{3 \, a^{4}} - \frac{{\left (2 \, B a b - 3 \, A b^{2}\right )} \log \left (x^{3}\right )}{3 \, a^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.48455, size = 327, normalized size = 3.37 \begin{align*} -\frac{2 \,{\left (2 \, B a^{2} b - 3 \, A a b^{2}\right )} x^{6} + A a^{3} +{\left (2 \, B a^{3} - 3 \, A a^{2} b\right )} x^{3} - 2 \,{\left ({\left (2 \, B a b^{2} - 3 \, A b^{3}\right )} x^{9} +{\left (2 \, B a^{2} b - 3 \, A a b^{2}\right )} x^{6}\right )} \log \left (b x^{3} + a\right ) + 6 \,{\left ({\left (2 \, B a b^{2} - 3 \, A b^{3}\right )} x^{9} +{\left (2 \, B a^{2} b - 3 \, A a b^{2}\right )} x^{6}\right )} \log \left (x\right )}{6 \,{\left (a^{4} b x^{9} + a^{5} x^{6}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.59669, size = 100, normalized size = 1.03 \begin{align*} - \frac{A a^{2} + x^{6} \left (- 6 A b^{2} + 4 B a b\right ) + x^{3} \left (- 3 A a b + 2 B a^{2}\right )}{6 a^{4} x^{6} + 6 a^{3} b x^{9}} - \frac{b \left (- 3 A b + 2 B a\right ) \log{\left (x \right )}}{a^{4}} + \frac{b \left (- 3 A b + 2 B a\right ) \log{\left (\frac{a}{b} + x^{3} \right )}}{3 a^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.13623, size = 201, normalized size = 2.07 \begin{align*} -\frac{{\left (2 \, B a b - 3 \, A b^{2}\right )} \log \left ({\left | x \right |}\right )}{a^{4}} + \frac{{\left (2 \, B a b^{2} - 3 \, A b^{3}\right )} \log \left ({\left | b x^{3} + a \right |}\right )}{3 \, a^{4} b} - \frac{2 \, B a b^{2} x^{3} - 3 \, A b^{3} x^{3} + 3 \, B a^{2} b - 4 \, A a b^{2}}{3 \,{\left (b x^{3} + a\right )} a^{4}} + \frac{6 \, B a b x^{6} - 9 \, A b^{2} x^{6} - 2 \, B a^{2} x^{3} + 4 \, A a b x^{3} - A a^{2}}{6 \, a^{4} x^{6}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]